-- GENERATED SPELL FOR [Searscale Drake] --


function spell0_7046(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(8873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7046', 1700, 1)
end

function Sorts_7046(pUnit, Event)
local choix_sorts_7046 = math.random(0, 0)
if choix_sorts_7046 == 0 then
pUnit:RegisterEvent('spell0_7046', 1, 1)
end
end

function mob7046_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7046', math.random(1500, 3000), 1)
end

function mob7046_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7046_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7046_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7046, 1, 'mob7046_Action')
RegisterUnitEvent(7046, 2, 'mob7046_Leave')
RegisterUnitEvent(7046, 3, 'mob7046_Kill')
RegisterUnitEvent(7046, 4, 'mob7046_Die')
